package com.jt.www.model.woxuebao.toubao;

import com.jt.www.model.conver.invoice.AttachmentVO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author: admin_ltf
 * @Description: 投保单信息
 * @Date: 16:16 2019/6/5
 */

public class ContextApplicationForm implements Serializable {

    /**
     * 投保单信息   可以用 liangtf
     */
//    private ContextApplicationFormInformation information;

    private String channelType;
    /**
     * 投保单类型  自助投保（00）/代投保（01）
     */
    private String applicationType;
    /**
     * 保险止期
     */
    private String endDate;
    /**
     * 城市编码
     */
    private String cityCode = "";
    /**
     * 续保次数 0
     */
    private Integer renewalTimes = 0;
    /**
     * 产品名称
     */
    private String productName = "";
    /**
     * 保单类型（00电子保单/01纸质保单）
     */
    private String policyKind = "00";
    /**
     * 城市名称
     */
    private String cityName = "";
    /**
     * 项目编码
     */
    private String projectCode = "";
    /**
     * 保险天数
     */
    private Integer term;
    /**
     * 产品类型（财产00/寿01）
     */
    private String productType = "00";
    /**
     * 区县名称
     */
    private String countyName = "";
    /**
     * 是否续保（1是/2否）
     */
    private String isRenewal = "N";
    /**
     * 省编码
     */
    private String provinceCode = "";
    /**
     * 渠道编码
     */
    private String channalCode = "";
    /**
     * 客户名称
     */
    private String consignor = "";
    /**
     * 机构名称
     */
    private String branchName = "";
    /**
     * 机构编码
     */
    private String branchCode = "";
    /**
     * 区县编码
     */
    private String countyCode = "";
    /**
     * 产品编码
     */
    private String productCode = "";
    /**
     * 投保单初始状态
     */
    private String originalStatus;
    /**
     * 省名称
     */
    private String provinceName = "";
    /**
     * 项目名称
     */
    private String projectName = "";
    /**
     * 保险起期
     */
    private String startDate;
    /**
     * 续保保单号  wu
     */
    private String renewalLastPolicyNo = "";
    /**
     * 投保日期
     */
    private String applicationDate = "";

    /**
     * 保费
     */
    private BigDecimal prem = BigDecimal.ZERO;

    /**
     * 被保险人人数
     */
    private Integer insuredCount;


    /**
     * 投保人信息
     */
    private ContextHolder policyHolder;


    /**
     * 被保险人信息
     */
    private List<ContextInsured> insureds;
    /**
     * 方案信息  无
     */
//    private ContextPlan plan;

    /**
     * 保费计算因子
     */
    private List<ContextFactor> factors;


    /**
     * 险种信息
     */
    private List<ContextRisk> risk;


    /**
     * 保单信息
     */
    private ContextPolicy policy = new ContextPolicy();

    /**
     * 保单服务人员信息
     */
    private List<ContextAgent> agents;

    /**
     * 承保公司
     */
    private List<ContextInsuranceCompany> insuranceCompanies;

    private  String reasonForBacklog;

    private Date revenueRecognitionTime;

    private  String revenueRecognitionReason;

    private  String revenueRecognitionFile;

    private  String revenueRecognitionOtherReason;

    //倒签跨期附件
    private List<AttachmentVO> attachments;




    public String getChannelType() {
        return channelType;
    }

    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    public String getApplicationType() {
        return applicationType;
    }

    public void setApplicationType(String applicationType) {
        this.applicationType = applicationType;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public Integer getRenewalTimes() {
        return renewalTimes;
    }

    public void setRenewalTimes(Integer renewalTimes) {
        this.renewalTimes = renewalTimes;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPolicyKind() {
        return policyKind;
    }

    public void setPolicyKind(String policyKind) {
        this.policyKind = policyKind;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getIsRenewal() {
        return isRenewal;
    }

    public void setIsRenewal(String isRenewal) {
        this.isRenewal = isRenewal;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getChannalCode() {
        return channalCode;
    }

    public void setChannalCode(String channalCode) {
        this.channalCode = channalCode;
    }

    public String getConsignor() {
        return consignor;
    }

    public void setConsignor(String consignor) {
        this.consignor = consignor;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getCountyCode() {
        return countyCode;
    }

    public void setCountyCode(String countyCode) {
        this.countyCode = countyCode;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getOriginalStatus() {
        return originalStatus;
    }

    public void setOriginalStatus(String originalStatus) {
        this.originalStatus = originalStatus;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getRenewalLastPolicyNo() {
        return renewalLastPolicyNo;
    }

    public void setRenewalLastPolicyNo(String renewalLastPolicyNo) {
        this.renewalLastPolicyNo = renewalLastPolicyNo;
    }

    public String getApplicationDate() {
        return applicationDate;
    }

    public void setApplicationDate(String applicationDate) {
        this.applicationDate = applicationDate;
    }

    public BigDecimal getPrem() {
        return prem;
    }

    public void setPrem(BigDecimal prem) {
        this.prem = prem;
    }

    public Integer getInsuredCount() {
        return insuredCount;
    }

    public void setInsuredCount(Integer insuredCount) {
        this.insuredCount = insuredCount;
    }

    public ContextHolder getPolicyHolder() {
        return policyHolder;
    }

    public void setPolicyHolder(ContextHolder policyHolder) {
        this.policyHolder = policyHolder;
    }

    public List<ContextInsured> getInsureds() {
        return insureds;
    }

    public void setInsureds(List<ContextInsured> insureds) {
        this.insureds = insureds;
    }

    public List<ContextFactor> getFactors() {
        return factors;
    }

    public void setFactors(List<ContextFactor> factors) {
        this.factors = factors;
    }

    public List<ContextRisk> getRisk() {
        return risk;
    }

    public void setRisk(List<ContextRisk> risk) {
        this.risk = risk;
    }

    public ContextPolicy getPolicy() {
        return policy;
    }

    public void setPolicy(ContextPolicy policy) {
        this.policy = policy;
    }

    public List<ContextAgent> getAgents() {
        return agents;
    }

    public void setAgents(List<ContextAgent> agents) {
        this.agents = agents;
    }

    public List<ContextInsuranceCompany> getInsuranceCompanies() {
        return insuranceCompanies;
    }

    public void setInsuranceCompanies(List<ContextInsuranceCompany> insuranceCompanies) {
        this.insuranceCompanies = insuranceCompanies;
    }

    public String getReasonForBacklog() {
        return reasonForBacklog;
    }

    public void setReasonForBacklog(String reasonForBacklog) {
        this.reasonForBacklog = reasonForBacklog;
    }

    public Date getRevenueRecognitionTime() {
        return revenueRecognitionTime;
    }

    public void setRevenueRecognitionTime(Date revenueRecognitionTime) {
        this.revenueRecognitionTime = revenueRecognitionTime;
    }

    public String getRevenueRecognitionReason() {
        return revenueRecognitionReason;
    }

    public void setRevenueRecognitionReason(String revenueRecognitionReason) {
        this.revenueRecognitionReason = revenueRecognitionReason;
    }

    public String getRevenueRecognitionFile() {
        return revenueRecognitionFile;
    }

    public void setRevenueRecognitionFile(String revenueRecognitionFile) {
        this.revenueRecognitionFile = revenueRecognitionFile;
    }

    public String getRevenueRecognitionOtherReason() {
        return revenueRecognitionOtherReason;
    }

    public void setRevenueRecognitionOtherReason(String revenueRecognitionOtherReason) {
        this.revenueRecognitionOtherReason = revenueRecognitionOtherReason;
    }

    public List<AttachmentVO> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<AttachmentVO> attachments) {
        this.attachments = attachments;
    }
}
